package com.rjgc.title.model.entity.apply;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rjgc.title.model.base.BaseApplyEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 成果
 *
 * @program: title-parent
 * @author: Mr.Zhuo
 * @create: 2022-04-25 15:53
 **/
@Data
@ApiModel(description = "Achievements")
@TableName("achievements")
public class Achievements extends BaseApplyEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "获得日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("date_obtained")
    private Date dateObtained;


    @ApiModelProperty(value = "排名")
    @TableField("ranking")
    private String ranking;



}
